package com.ftg.learn.day09.learninterface;

/**
 * 皮裤哥
 *  implements 实现
 * @author kangjx
 * @version 1.0
 * @date 2023/8/1 下午3:32
 */
public class PiKuGe implements First{

    /**
     * 重写
     */

    @Override
    public void goodGoodStudy() {
        System.out.println("爱皮裤");
        System.out.println("唱歌");
        First.staticMethod();
        //接口里面默认方法
        defaultMethod();
    }

    @Override
    public void dayDayUp(){
        System.out.println("谈恋爱 ");
        System.out.println("酒吧");
    }

    public static void main(String[] args) {
        First f1 = new PiKuGe();
        f1.dayDayUp();

        First f2 = new LaoLeng();
        f2.dayDayUp();
    }

}
